from .captcha import api_captcha
from .user import api_user
from .house import api_house
from .order import api_order
from .area import api_area
from .device import api_device

default_blueprint = [
    api_captcha,
    api_user,
    api_house,
    api_order,
    api_area,
    api_device
]

def register_blueprint(app):
    for blueprint  in default_blueprint:
        app.register_blueprint(blueprint, url_prefix="/api/v1")
